<%@page import="controle.*"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<html>
<head>
	<title>Adicionar Evento</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<script type="text/javascript"></script>
	<!--link rel="stylesheet" type="text/css" media="screen" href="css4.css"-->
	<link rel="stylesheet" href="styles.css">
	<!--link rel="stylesheet" href="reset.css"-->
	<!--link rel="stylesheet" href="animate.css"-->
</head>
<body>
<% if (request.getSession().getAttribute("username") == null) response.sendRedirect("login.jsp"); %>
 <!------------------------------ Inicio do corpo ------------------------------>

   <div id="container1">
   <!--#############################   Aqui sera inserida a funcao para adicionar eventos  ###########################-->
   <!-- ############################   Tem varias maneiras de implementar essa parte       ###########################-->
	 
	 <form action="NovoEventoServlet" method="post">
		<table>
		  
		<tr>
		<td>
			<label for="name">Evento:</label>
		</td>
		<td>
		<select name="evento">
		<!--#############################   Nao sei exatamente o que colocar dentro de 'value'  ###########################-->
			<option value='Luminosidade'>Luminosidade</option>
			<option value='Temperatura'>Temperatura</option>
			<option value='Presenca'>Presen&ccedil;a</option>
			<option value='Umidade'>Umidade</option>		
		</select>
		</td>
		</tr>
		
		<tr>
		<td>
			<label for="name">Min:</label>
		</td>
		<td>
		<select name="min">
			<option value='0'>0</option>
			<option value='5'>5</option>
			<option value='10'>10</option>
			<option value='20'>20</option>
			<option value='30'>30</option>
			<option value='40'>40</option>
			<option value='50'>50</option>
			<option value='60'>60</option>
			<option value='70'>70</option>
			<option value='80'>80</option>
			<option value='90'>90</option>
			<option value='100'>100</option>
			<option value='110'>110</option>
			<option value='120'>120</option>
			<option value='130'>130</option>
			<option value='140'>140</option>
			<option value='150'>150</option>
			<option value='160'>160</option>
			<option value='170'>170</option>
			<option value='180'>180</option>
			<option value='190'>190</option>
			<option value='200'>200</option>
			<option value='210'>210</option>
			<option value='220'>220</option>
			<option value='230'>230</option>
			<option value='240'>240</option>
			<option value='250'>250</option>
		</select>
		</td>
		</tr>
		
		<tr>
		<td>
			<label for="name">Max:</label>
		</td>
		<td>
			<select name="max">
			<option value='5'>5</option>
			<option value='10'>10</option>
			<option value='20'>20</option>
			<option value='30'>30</option>
			<option value='40'>40</option>
			<option value='50'>50</option>
			<option value='60'>60</option>
			<option value='70'>70</option>
			<option value='80'>80</option>
			<option value='90'>90</option>
			<option value='100'>100</option>
			<option value='110'>110</option>
			<option value='120'>120</option>
			<option value='130'>130</option>
			<option value='140'>140</option>
			<option value='150'>150</option>
			<option value='160'>160</option>
			<option value='170'>170</option>
			<option value='180'>180</option>
			<option value='190'>190</option>
			<option value='200'>200</option>
			<option value='210'>210</option>
			<option value='220'>220</option>
			<option value='230'>230</option>
			<option value='240'>240</option>
			<option value='250'>250</option>
		</select>
		</td>
		</tr> 
		
		<tr>
		<td>
		<!--div id="lower"-->
		<input type="submit" value="OK" name="button"/>
		<!--/div-->
		</td>
		<td>
		<!--div id="lower"-->
		<input type="submit" value="Cancelar" name="button"/>
		<!--/div-->
		</td>		
		</tr>
		
		</table>
		</form>
  </div>


  

  <!------------------------------ fim do corpo ----------------------------->
  
  
 <!----------------------------- Links do menu acima ----------------------------->
  <!--div id="navMenu0">
    <ul>

      <li> <a href="index.jsp" title="Home">Home</a> </li>
      <li> <a href="eventos.jsp" title="Eventos">Eventos</a> </li>
      <li> <a href="grafico.jsp" title="Gr&aacute;ficos">Gr&aacute;ficos</a> </li>
      <li> <a href="arduino.jsp" title="Arduino">Arduino</a> </li>
    </ul>
  </div-->
   <!----------------------------- fim dos Links do menu acima ----------------------------->
  
  <!-- As DIVs a seguir podem ser usadas para inserir imagens adicionais -->
  <!--div id="extra1"><span></span></div-->
 
 <!--/div-->
<!--Fim da #tudo que engloba toda a pagina -->

</body>
</html>